@import "@/assets/style/variables.scss";

$baseCls: mailbox-page;

.#{$baseCls} {
  background: rgba(0, 0, 0, 0.3)
    url("https://tt642f1292fb1394a001-env-as0wwifwof.tos-cn-beijing.volces.com/background.png");
  background-blend-mode: darken;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 0px 16px;

  &-wrapper {
    position: relative;
    min-height: 100vh;

    .#{$baseCls}-top {
      color: white;
      height: calc(100vh - 476px);
      .#{$baseCls}-title {
        padding-top: calc(
          100vh - 476px - $safe-area -
            (100vh - 476px - $safe-area - $tab-bar-height - $tab-height) / 2
        );
        font-size: 36px;
        font-weight: 600;
        line-height: 48px;
      }

      .#{$baseCls}-object {
        line-height: 22px;
        font-size: 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;

        &-text {
          flex-shrink: 0;
        }

        .#{$baseCls}-icon-arrow-right {
          height: 20px;
          width: 20px;
        }
      }
    }

    .envelope-list {
      position: relative;
      padding-bottom: 20px;
    }
  }

  &-write {
    border-radius: 16px;
    display: flex;
    width: 56px;
    height: 56px;
    position: fixed;
    background-color: #168ef9;
    padding: 14px;
    justify-content: center;
    align-items: center;
    bottom: 36px;
    right: 24px;
    box-sizing: border-box;
  }
}
